import Mock from "mockjs"
import listMockApi from './list' 

const MockApi = [
	...listMockApi
]

Mock.setup({
  timeout: "200-600",
});


MockApi.forEach(item=>{
  Mock.mock(new RegExp(item.url),item.type,item.response)
})